<?php
// +----------------------------------------------------------------------
// | 会员管理－新增用户
// +----------------------------------------------------------------------
// | Copyright (c) 2015
// +----------------------------------------------------------------------
// | Author: baiping 125618036@qq.com http://www.webipcode.com
// +----------------------------------------------------------------------
// | 2015-6-26上午11:13:48
// +----------------------------------------------------------------------
?>
<?php $this->load->view('public/header');?>
<?php $this->load->view('public/head');?>
<div class="container-fluid">
	<div class="row">
		<?php $this->load->view('public/sideleft');?>
		<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main ">
			<!-- 内容区 -->
			<div class="main-title">
				<h3>
					<?php echo $meta_title ?>
				</h3>
			</div>
			<div class="con">
				<!-- 内容列表 -->
				<form action="<?php echo site_url('member/create')?>" method="post" name="member_form">
					<div class="form-group col-md-3">
						<label>用户名<small class="color_9">(作为登录的重要凭证)</small></label>
    					<input type="text" class="form-control" id="username" name="username" placeholder="用户名" value="<?php echo set_value('username');?>">
  						<?php echo form_error("username",'<span class="text-danger">','</span>');?>
					</div>
					<span class="clearfix"></span>
					<div class="form-group col-md-3">
						<label>密码<small class="color_9">(用户密码不能少于6位)</small></label>
    					<input type="password" class="form-control" id="password" name="password" placeholder="密码" value="<?php echo set_value('password');?>">
  						<?php echo form_error("password",'<span class="text-danger">','</span>');?>
					</div>
					<span class="clearfix"></span>
					<div class="form-group col-md-3">
						<label>确认密码</label>
    					<input type="password" class="form-control" id="confimpassword" name="confimpassword" placeholder="确认密码" value="<?php echo set_value('confimpassword');?>">
  						<?php echo form_error("confimpassword",'<span class="text-danger">','</span>');?>
					</div>
					<span class="clearfix"></span>
					<div class="form-group col-md-3">
						<label>邮箱</label>
    					<input type="text" class="form-control" id="email" name="email" placeholder="邮箱" value="<?php echo set_value('email');?>">
  						<?php echo form_error("email",'<span class="text-danger">','</span>');?>
					</div>
					<span class="clearfix"></span>
					<div class="form-group">
						<button type="submit" class="btn btn-primary">确认</button>
						<a class="btn btn-success" href="javascript:window.history.go(-1);">返回</a>
					</div>
				</form>
			</div>
		</div>
	</div>
</div>
<script type="text/javascript">
//左侧菜单高亮显示
highlight_subnav( '<?php echo site_url('member/index')?>' );
</script>
<?php $this->load->view('public/footer');?>